package com.yin.spring5.bean;

/**
 * Course
 *
 * @author Yin Guiqing
 */
public class Course {
    private String courseName;
    private Integer credit;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseName='" + courseName + '\'' +
                ", credit=" + credit +
                '}';
    }
}
